package cn.kgc.service;

import cn.kgc.bean.Room;
import com.github.pagehelper.PageInfo;

public interface RoomService {
    /*根据id查询房间信息*/
    public Room selectRoomById(Integer id);
    /*动态修改*/
    public int updateRoom(Room room);
    /*根据公寓id或房间名查询房间列表*/
    public PageInfo<Room> selectRoomByHouseInfo(Integer pageNum,Integer pageSize,Integer houseid,String roomname);
    /*根据房间id删除房间*/
    public int deleteRoomById(Integer id);
}
